package com.example.dy.pay.mapper;

import com.example.dy.pay.domain.PayResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
* @author hasee
* @description 针对表【t_pay_result】的数据库操作Mapper
* @createDate 2023-09-28 10:18:51
* @Entity com.example.dy.pay.domain.PayResult
*/
public interface PayResultMapper extends BaseMapper<PayResult> {

    @Select("select * from t_pay_result where order_no=#{order_no} for update")
    PayResult watch_null_pay_result(@Param("order_no") String order_no);
}




